/********************************************************************************
 ***                                                                          *** 
 ********************************************************************************
 *                                                                              * 
 *           Prject Name : MEMORIA                                              * 
 *                                                                              * 
 *             File Name : nail.h                                               * 
 *                                                                              * 
 *            Programmer : LBW                                                  * 
 *                                                                              * 
 *            Start Date : 2020/12/26                                           * 
 *                                                                              * 
 *           Last Update : 2020/12/26  [LBW]                                    * 
 *                                                                              * 
 *------------------------------------------------------------------------------*
 * Functions:                                                                   * 
 *==============================================================================*/

#ifndef NAIL_H
#define NAIL_H

#include <QPushButton>

class Nail : public QPushButton
{
	Q_OBJECT
public:
	Nail(QString str,QWidget *parent = 0);

	void mousePressEvent(QMouseEvent *event) override;
	
	void setId(int);
signals:
	void nailPressed(int);
private:
	int id;
};

#endif
